package com.lhb.SC.admin.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.lhb.SC.model.user.User;
import com.lhb.SC.web.context.ResponseResult;

@FeignClient(name = "lhb-SC-user", contextId = "UserFeign", path = "/user/user")
public interface UserFeign {

    @GetMapping("/get")
    public ResponseResult<User> getUserById(@RequestParam("userId") Long userId);
}
